package com.yhy.produce.feign;


import com.yhy.common.core.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "consume", path = "/feign")
public interface RemoteConsumeFeign {

    @GetMapping(value = "/test")
    Result<?> test(@RequestParam("id") Long id);

}
